package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.AdminChef;
import org.hxyjs.entity.AdminChefExample;

public interface AdminChefMapper {
    long countByExample(AdminChefExample example);

    int deleteByExample(AdminChefExample example);

    int deleteByPrimaryKey(String acno);

    int insert(AdminChef record);

    int insertSelective(AdminChef record);

    String getMaxAcno();

    List<AdminChef> getAdminChefByPage(Map<String, Object> map);

    List<AdminChef> selectByExample(AdminChefExample example);

    AdminChef selectByPrimaryKey(String acno);

    int updateByExampleSelective(@Param("record") AdminChef record, @Param("example") AdminChefExample example);

    int updateByExample(@Param("record") AdminChef record, @Param("example") AdminChefExample example);

    int updateByPrimaryKeySelective(AdminChef record);

    int updateByPrimaryKey(AdminChef record);
}